home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak 146
/
(Vol 146) Jan 07 2012.iso
/
Games
/
thrust_2.swf
/
scripts
/
frame_21
/
PlaceObject2_107_537
/
CLIPACTIONRECORD onClipEvent(enterFrame)_3.as
< prev
next >
Wrap
Text File
|
2012-01-07
|
417b
|
28 lines
onClipEvent(enterFrame){
if(won == false)
{
bonusleft += 1;
if(bonusleft == 10)
{
_root.bonus -= 1;
bonusleft = 0;
}
if(_root.bonus < 0)
{
_root.bonus = 0;
}
}
if(this._x < 0)
{
this._x = 555;
}
if(this._x > 555)
{
this._x = 0;
}
if(this._y < 50)
{
this._y = 50;
}
}